﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.GC.Dto
{
    [ExcelExporter(Name = "报表数据", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetYTBUrgentApplicationOutput
    {
        /// <summary>
        /// 发起人名称
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string UserName { get; set; }

        /// <summary>
        /// 流程ID
        /// </summary>
        [ExporterHeader(DisplayName = "单据号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public string CreateTime { get; set; }


        /// <summary>
        /// 申请人姓名
        /// </summary>
        [ExporterHeader(DisplayName = "申请人姓名")]
        public string ApplicationUserNames { get; set; }


        /// <summary>
        /// 销售员姓名
        /// </summary>
        [ExporterHeader(DisplayName = "销售员姓名")]
        public string SellUserNames { get; set; }


        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string OpportunityNumber { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [ExporterHeader(DisplayName = "项目名称")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        [ExporterHeader(DisplayName = "订单号")]
        public string OrderNumber { get; set; }


        /// <summary>
        /// 生产工厂
        /// </summary>
        [ExporterHeader(DisplayName = "生产工厂")]
        public string ProductionPlant { get; set; }


        /// <summary>
        /// 订单创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "订单创建时间")]
        public DateTime CreateOrderDate { get; set; }

        /// <summary>
        /// 加急入库时间
        /// </summary>
        [ExporterHeader(DisplayName = "加急入库时间")]
        public DateTime ExpeditedStorageDate { get; set; }

        /// <summary>
        /// 申请原因
        /// </summary>
        [ExporterHeader(DisplayName = "申请原因")]
        public string ApplicationReason { get; set; }


        /// <summary>
        /// 抄送人员名
        /// </summary>
        [ExporterHeader(DisplayName = "抄送人员名")]
        public string CcUserNames { get; set; }

        /// <summary>
        /// 链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}